package com.regentsoft.cloudback.operateAdmin.dao;

import com.regentsoft.cloudback.operateAdmin.entity.ActivationSubCode;
import com.regentsoft.cloudback.operateAdmin.entity.ActivationSubCodeParam;
import com.regentsoft.cloudback.vo.req.ActivationSubCodeReq;
import com.regentsoft.cloudback.vo.req.CompanyActivationQueryReq;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by work on 2017/11/30.
 *
 * @author lumr
 */
public interface ActivationSubCodeMapper {
    int generatorSubCode(ActivationSubCodeParam param);

    List<ActivationSubCode> getSubCode(CompanyActivationQueryReq queryReq);

    int changSubCodeStatus(ActivationSubCodeReq req);

	int getTotalCount(@Param("code") String code,@Param("status")Integer status);
}
